#ifndef MAP_H
#define MAP_H

#include <fstream>
#include <sstream>
#include <iostream>
#include <string>
#include <vector>
#include <utility>
#include <map>

typedef std::pair<int, int> point;

class Map
{
public:
	Map();
	Map(std::string path);
	~Map();
	void loadMap(std::string path);
	std::map<std::string, double> getMap();
	std::vector<point> getBarriers();

private:
	int level;
	double gridSize;
	double startX;
	double startY;
	int rowNums;
	int colNums;
	int barrierNums;
	std::string mapPath = "./data/map/map_1.txt";
	std::vector<point> barriers;
	std::map<std::string, double> mMap;
};
#endif
